#pragma once

#include <vector>
#include <string>
#include <curses.h>
#include <menu.h>

class MenuWin
{
private:
    WINDOW *menu_win;
    MENU *menu;
    std::vector<ITEM *> items;
    int selected_index;

public:
    MenuWin(WINDOW *win, const std::vector<std::string> &choices);
    ~MenuWin();
    int run();
};